import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import {Observable} from "rxjs/Observable";

@Injectable()
export class BannerProvider {
    constructor(public http: HttpClient) {
    }

    // 获取咨询详情
    getBannerDetail(bannerId:string):Observable<any>{
        return this.http.get(`/banner/v1/app/one?bannerId=${bannerId}`);
    }

}
